package com.ruoyi.jpbi.service;


import com.ruoyi.jpbi.domain.konggu.Tree;
import com.ruoyi.jpbi.domain.konggu.Departments;
import org.apache.poi.ss.formula.functions.T;

import java.util.List;

public interface DepartmentsService {

    public List<String> findSubdepartmentID(List<String> AllID);

    public Tree<T> findAllTree(List<String> AllID, String CompID,String type);

    List<Departments> findAllDepa(String id,String type,Departments departments);
    Departments findDepaone(String depID);
    int updateDepa(Departments departments);
    int insertDepa(Departments departments);
    int deleteDepa(List<String> depidList);

}
